<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>404 错误页面</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            background-color: #f8f9fa;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
            padding: 20px;
        }

        .error-container {
            text-align: center;
            max-width: 90%;
        }

        .error-image {
            width: 200px;
            height: 200px;
            margin-bottom: 30px;
        }

        .error-code {
            font-size: 72px;
            font-weight: bold;
            color: #343a40;
            margin-bottom: 10px;
        }

        .error-message {
            font-size: 18px;
            color: #6c757d;
            margin-bottom: 30px;
        }

        .back-button {
            display: inline-block;
            padding: 12px 24px;
            background-color: #007bff;
            color: white;
            text-decoration: none;
            border-radius: 25px;
            font-size: 16px;
            transition: background-color 0.3s;
        }

        .back-button:hover {
            background-color: #0056b3;
        }
    </style>
</head>
<body>
    <div class="error-container">
        <img src="/static/delault/404.png" 
             alt="错误图标" 
             class="error-image">
        <div class="error-code">404</div>
        <div class="error-message">Error</div>
        
    </div>
</body>
<script>
    document.addEventListener("error",function(e){  
        var url = e.url;  // 错误页面的url地址  
        var href = e.href; // 错误页面的完整路径（包括完整的协议头）  
    },false);
</script>
</html>
